/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.worldscale.javase.wslib.urm;

import net.worldscale.xp.wslib.urm.UrmFactory;
import net.worldscale.xp.wslib.urm.io.IConnectionFactory;
import net.worldscale.xp.wspr.Module;
import net.worldscale.xp.wspr.ModuleFactory;
import net.worldscale.xp.wspr.ModuleInfo;

/**
 *
 * @author Kun
 */
public class Urm4JavaSEFactory extends ModuleFactory {

    public static IConnectionFactory getResourceConnFactory() {
        return ImplResourceConnection.getFactory();
    }

    public static IConnectionFactory getHttpConnFactory() {
        return ImplHttpConnection.getFactory();
    }
    private final UrmFactory mTarget = new UrmFactory();

    public Urm4JavaSEFactory() {
    }

    @Override
    public Module createInstance() {
        return mTarget.createInstance();
    }

    @Override
    public ModuleInfo getInfo() {
        return mTarget.getInfo();
    }
}
